#include "votesys.h"

int main(int argc, char* argv[])
{
  CLIENT *cl;

  cl = clnt_create("localhost", VOTESYS, VOTEVERS, "visible");

  if( cl == NULL )
  {
    clnt_pcreateerror("Sever");
    return -1;
  }

  if( closevote_1(NULL, NULL, cl) != RPC_SUCCESS )
  {
     clnt_perror(cl, "Server");
     return -1;
  }

  printf("Voting is close!\n");

  return 0;
}
